import { createRouter, createWebHashHistory } from 'vue-router';
import Facility from '../views/facility/index.vue';
import Monitor from '../views/monitor/index.vue';

const routes = [
  {
    path: '/',
    name: 'Facility',
    component: Facility,
  },
  {
    path: '/monitor',
    name: 'Monitor',
    component: Monitor,
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;